home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / dev / lang / pcq12b.lzh / Include / Utils / IOUtils.i < prev    next >
Text File  |  1990-08-27  |  699b  |  26 lines

  1. {
  2.     IOUtils.i
  3.  
  4.     This file has the NewList, CreatePort, DeletePort, CreateStdIO,
  5. and DeleteStdIO.  You never know when you'll need them....  Note that
  6. the Create functions do _not_ use PCQ's memory routines, and thus if
  7. you fail to Delete them, the memory will be lost to the system.
  8.     The object code for these routines is in PCQ.lib, and the
  9. source is in Runtime/Extras.
  10. }
  11.  
  12. {$I "Include:Exec/Ports.i"}
  13. {$I "Include:Exec/IO.i"}
  14.  
  15. Function CreatePort(Name : String; pri : Integer) : MsgPortPtr;
  16.     External;
  17.  
  18. Procedure DeletePort(port : MsgPortPtr);
  19.     External;
  20.  
  21. Function CreateStdIO(ioReplyPort : MsgPortPtr) : IOStdReqPtr;
  22.     External;
  23.  
  24. Procedure DeleteStdIO(Request : IOStdReqPtr);
  25.     External;
  26.